Optimisation of nutrition and medication